package org.example.service;

import org.example.common.Result;
import org.example.pojo.Admin;
import org.example.pojo.Business;
import com.baomidou.mybatisplus.extension.service.IService;
import org.example.pojo.Query;
import org.springframework.stereotype.Service;



/**
* @author 13326
* @description 针对表【hards_business】的数据库操作Service
* @createDate 2024-12-29 20:48:50
*/
@Service
public interface BusinessService extends IService<Business> {


     Result searchlist(Query query);

     Result add(Business business);

     Result updatebus(Business business);


     Result deleteById(Integer id);

     Result register(Business business);

     Result login(Admin admin);

     Result updateperson(Business business);

     Result updatepassword(Business business);

     Result getall();

     Result getdetail(Integer id);
}
